//
//  CoursePageTitleView.h
//  ShowYork
//
//  Created by hxh on 2020/8/28.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


@protocol LessonPageTitleViewDelegate<NSObject>

@optional
- (void)showMoreAtIndex:(NSInteger)index;

@end

@interface LessonPageTitleView : UIView
@property (nonatomic,weak)id<LessonPageTitleViewDelegate>delegate;
- (instancetype)initWithTitleName:(NSString *)titleName hideLine:(BOOL)hideLine;
@property (nonatomic,copy)NSString *title;
@property (nonatomic,assign)NSInteger index;

@end

NS_ASSUME_NONNULL_END
